<?php
require_once("includes/include.php");
require_once("includes/datezoneset.php");
@session_start();
class blogDraftContent extends blogdao{
	public function __construct(){
		parent::__construct();
	}
	
	public function readTargetDraftContent($draftid){
		$sql = "select content from blogDraft where id='$draftid'";
		$draftContent = $this->fetchit($sql);
		return $draftContent;
	}
		
}

$post = $_POST;
//获取target draft Content
if(!empty($post)&&$post['postType']==7) {
	$draftId = $post['draftId'];
	$manage = new blogDraftContent();
	$blogDrafts = $manage->readTargetDraftContent($draftId);
	if (!empty($blogDrafts)){
		foreach ($blogDrafts as $draft){
			echo $draft["content"];
		}
	}
}
?>